#include <linux/tty.h>
#include <linux/page.h>
#include <linux/kernel.h>

extern char empty_zero_page[PAGE_SIZE];

#define PARAM       empty_zero_page
#define EXT_MEM_K   (*(unsigned short *)(PARAM + 2))
#define SCREEN_INFO (*(struct screen_info *)(PARAM + 0))

extern void time_init(void);

struct screen_info screen_info;

extern void trap_init(void);

void start_kernel() {
    screen_info = SCREEN_INFO;
    trap_init();
    con_init();
    time_init();
}
